home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / MacGS 2.5.2ß3 Dev ƒ / src / (Unused) / gsconfig.bat < prev    next >
Encoding:
DOS Batch File  |  1992-08-20  |  728 b   |  61 lines  |  [TEXT/EDIT]

  1. @echo off
  2.  
  3. if '%1'=='+' goto noinit
  4.  
  5. echo + >_temp_.dob
  6.  
  7. echo # >_temp_.dow
  8.  
  9. echo /* This file was automatically generated by Ghostscript (gsconfig.bat). */ >_temp_.dh
  10.  
  11. echo /* See gconfig.c for documentation. */ >>_temp_.dh
  12.  
  13. echo /* */ >_temp_.dop
  14.  
  15. echo + >_temp_.dlb
  16.  
  17. echogs @echo off >_temp_.bat
  18.  
  19. goto top
  20.  
  21. :noinit
  22.  
  23. shift
  24.  
  25. :top
  26.  
  27. if '%1'=='' goto done
  28.  
  29. if '%1'=='+' goto nofin
  30.  
  31. copy /b _temp_.bat+%1 >nul
  32.  
  33. shift
  34.  
  35. goto top
  36.  
  37. :done
  38.  
  39. command /c _temp_.bat >nul
  40.  
  41. sort <_temp_.dob | uniq >obj.tr
  42.  
  43. sort <_temp_.dow | uniq >objw.tr
  44.  
  45. sort <_temp_.dop | uniq >>_temp_.dh
  46.  
  47. if exist lib.tr erase lib.tr
  48.  
  49. rename _temp_.dlb lib.tr
  50.  
  51. if exist gconfig.h erase gconfig.h
  52.  
  53. rename _temp_.dh gconfig.h
  54.  
  55. erase _temp_.d*
  56.  
  57. erase _temp_*.bat
  58.  
  59. :nofin
  60.  
  61.